package com.htzos.admin.system.dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.htzos.admin.system.bean.SystemUserroleBase;
import com.htzos.common.tool.ExtQueryBean;
@Repository
public interface SystemUserroleBaseMapper{
    public List<SystemUserroleBase> systemUserroleBaseList(@Param(value="systemUserroleBase")SystemUserroleBase systemUserroleBase, @Param(value="extQuery")ExtQueryBean extQuery);
    public Integer systemUserroleBaseTotal(@Param(value="systemUserroleBase")SystemUserroleBase systemUserroleBase, @Param(value="extQuery")ExtQueryBean extQuery);
    public int systemUserroleBaseUpdate(SystemUserroleBase systemUserroleBase);
    public int systemUserroleBaseInsert(SystemUserroleBase systemUserroleBase);
    public int systemUserroleBaseDelete(SystemUserroleBase systemUserroleBase);
    public SystemUserroleBase systemUserroleBaseGet(String id);
    public String[] systemUserroleBaseGetUserRoles(Integer userId);
	public void systemUserroleBaseDeleteByUserId(@Param(value="userId")Integer userId);
	public void systemUserroleBaseDeleteByRoleId(@Param(value="roleId")Integer roleId);
}